fix msvc warnings
fix the file permission on osd/ptexMipmapTextureLoader.cpp