Following erlang's more explicit semantics for move from file to dir