add .gitignore
add packaging files
dont import Fcntl exports
reset umask before any exits

fixes #5
doc updates
filehandle corruption fixes