File.link is platform dependent

File.link (used extensively in maildir.rb) is not available on all platforms or file systems. There should be an alternative. It fails on encfs file systems.