reduce extra effort in resolve_mediaid(,,$exist)
handle .gz .bz2 file write
change inc/init.php to fit NFS
improve performance by ignore dummy check