Fixed post-build script in Commands.Resources to handle filesystem paths containing spaces