text-based mount.nfs: Add rewrite_mount_options() function