works with pig .13, added error checking around hadoop fs