Avoid unnecessary IO caused by accessing ``value.file``

Also fixes 500 errors when ``file`` is ``None``
Bump version to v1.1.2