Some updates in osxtransfer.cpp