Check if non-digest file exists, and if they are identical

Some asset gems takes care of creating a non-digest version on their
own, and copying an identical file makes FileUtils throw an error, so we
should check to make sure it will work.