fix '%' for non-ruby files