Tests: Fallback to os.tmpdir in case TMP and TMPDIR are not defined
Ignore files that start with a dot, some editors are creating them temporarily and there's really no point watching them since they don't fit into the naming schema