[FixRM:#8126] -  Use functions from Msf::Post::File

Some functions already exist in Msf::Post::File, should use them.
Don't need this line
Land #2061, @wchen-r7's fix to make bitcoin_jacker use post mixins