Fixed misspelling of 'tags' in fileops.py
merged Ryan Koesters patch