Fix crash when using -o without --copy-pattern and we find non-flac files
Use temporary file for in-flight transcodes

This prevents interrupted, partial, truncated transcodes littering our
file system and causing false positives for --skip-existing
Merge pull request #3 from muchadhesion/master

Use temporary files for in-flight transcodes