Fix file_get_permissions_from_stat_mode logic

Look at all bits not just one.
Only emit async-read callback with API_E_OPERATION_ABORTED if there was somehing to abort