Added movetemp option, moves source file to a temp filename first - handy for broken filesystems