[ticket/11226] filespec::move_file() should errors correctly

https://tracker.phpbb.com/browse/PHPBB3-11226

PHPBB3-11226