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

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