file: Don't crash when sending data to file backends