fix opening of just moved regular files