block: add support for mounting swap files