ENH: drop os low level file handlers

Minor changes addressing issues @Eric89GXL pointed out.