Fixed mv and now it uses fopen instead of open (faster)