actually fix pullFile(). works on ios71 and ios8, xcode version independent