a little of refactoring CarrierWave::Test::MockFile