to_s filename so it doesn't break in ruby 2