Add a fix for imageoptim wrecking the permissions on the files