Fix tests: FileNotFoundError is python 3.4 specific, I should use OSError instead