A platform independent file lock for Python