Map ResourceNotFoundException to ENOENT