Fixed #770: Calling move() twice on the same uploaded file will cause a bogus exception
merge 45671fbef6aa000a05d6c0106972acb8ced0270e