Calculate MD5, SHA1, SHA256, SHA384, SHA512 and RIPEMD160 of files

This is my first experience to write scripts on F# that's why I'll be pleased if somebody will make this snippet more perfectly. Usage: fsi hasher.fsx foo test.dat test.txt bar