import os to make keys.dat detection work on OSX