fall over if a bed file given as an option cannot be read
Make stats.c's error() static like the others
Add print_error() and print_error_errno()

Also use them to report why BED files cannot be read.
Use return instead of exit(), as suggested by Martin.
Merge BED file option error checking (PR #77)