Fix for file moving.