compiler: Use fnameescape()

- Properly escape filenames for viewers
- Use format strings to make command lines easier to read