Check for a valid file created from tempnam()

tempnam() returns false when a file could not be created for writing. If the error is not caught, the uglifycss command runs with a missing argument (the filename).