add optional stacktraces to errors
fix handling of deleted files, don't try to boilerplate binary files