Python module to extract file metadata