Add transient cache for get_file_version_ids. Closes #148