open returns -1 on failure
Merge pull request #2 from AndrewFromMelbourne/master

open returns -1 on failure