Linux paste support (require xclip to be installed on system)
Only closes the file pointer if the file was opened.
Merge pull request #32 from clearskies/linux-paste

Linux paste support (require xclip to be installed on system)