add file_rollback.rb

when an error occurs during compilation, or on certain interrupts,
rollback all files that were created. Rolling back means either
reverting them to their previous state or deleting them if they
didn't previously exist.