Flux pinning enhancement in thin films of Y3Ba5Cu8O18.5+d