- Catch more similar exceptions just in case
- Use the right file when writing out an empty file
- Add parameter for fraction contamination (impure tumors)