better error message when mv fails