Move the filesystem compatibility wrapper to qcommon