Small usability fixes, compiler warnings, cleanup

Better error handling on empty files, cleanup, pyfacs default error rate on build, fixed @arvestad compiler warning.

@henrikstranneheim, this fixes my issue with bloom build... the reference file was 0 bytes:

https://github.com/brainstorm/facs/pull/new/master#L0R502