Fixed some file transfer issues.