Catch NotImplementedError at file.size