Properly handle source mapping files