Ensure atomic move
Ensure atomic move

Temp path may be on different mount point from the target.

nanaya/moebooru,moebooru/moebooru,moebooru/moebooru,nanaya/moebooru,nanaya/moebooru,moebooru/moebooru,nanaya/moebooru,nanaya/moebooru,moebooru/moebooru,moebooru/moebooru