Prefer Pathname#new over File.expand_path for performance