Fix saving bundled assets with extensions other than .js or .css