A Pattern for Remote Code Execution using Arbitrary File Writes and MultiDex Applications