lib: Move _filename_is_in_maildir