Mallya writes to PMLA court