Skip rewrites for certain filetypes, or all existing files

From http://stackoverflow.com/questions/8120886/css-and-javascript-not-loading-with-rewrite-condition