Fix build
Error checks for missing files
The error check
Return non-zero to OS on error
Ignore bin/