file_utils: properly report errors (fix #95)

While at it, improve the error message printed by rebar_utils:sh/2.
Merge pull request #252 from tuncer/file_utils-errors

file_utils: properly report errors (fix #95)